package logic;
import java.util.ArrayList;

import gamepieces.*;

public class Board {
/*
 * Atributes
 */
	final static int BOARD_SIZE_X = 26;
	final static int BOARD_SIZE_Y = BOARD_SIZE_X;
	
	private ArrayList<Piece> pieces;
	private int boardWidth;
	private int boardHeight;

/*
 * Constructors
 */
	public Board(){
		initializeBoard(BOARD_SIZE_X, BOARD_SIZE_Y);
	}
	
	public Board(int sizeX, int sizeY){
		initializeBoard(sizeX, sizeY);
	}

/*
 * Methods
 */
	private void initializeBoard(int sizeX, int sizeY){
		boardWidth = sizeX;
		boardHeight = sizeY;
		pieces = new ArrayList<Piece>(0);
		
		for(int i = 0; i < boardWidth * boardHeight; i++){
			pieces.add(new Exterior());
		}
	}
	
/*
 * Getters
 */
	public int get_board_width(){
		return boardWidth;
	}
	
	public int get_board_height(){
		return boardHeight;
	}

/*
 * Setters
 */
}
